package com.seashell.demo.swaggerspringboot.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

@ApiModel(value="TestModel", description="测试Model")
public class Test {

    @ApiModelProperty(value = "Test model 的id", allowableValues = "1,2,3")
    private Integer id;

    @ApiModelProperty(value = "Test model 的content")
    private String content;

    @ApiModelProperty(value = "Test model 的array")
    private String[] array;

    @ApiModelProperty(value = "Test model 的list")
    private List<String> list;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String[] getArray() {
        return array;
    }

    public void setArray(String[] array) {
        this.array = array;
    }

    public List<String> getList() {
        return list;
    }

    public void setList(List<String> list) {
        this.list = list;
    }
}
